// 主体部分页面面包屑导航
<template>
    <div class="separator">
      <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/welcome' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item v-for="(item,index) in nameList" :key="index">{{item}}</el-breadcrumb-item>
      </el-breadcrumb>
    </div>
</template>

<script>
  export default {
    name:'Separator',
    props:{
        nameList:{
            type:Array,
            default(){
                return []
            }
        }
    }
  }
</script>

<style lang="less" scoped>
  .el-breadcrumb{
    margin-bottom: 15px;
    font-size: 14px;
  }
</style>>